package com.ficus.road.maintain.core.infrastructure.mongo.converter;

import org.bson.BsonUndefined;
import org.springframework.core.convert.converter.Converter;
import org.springframework.data.convert.ReadingConverter;

@ReadingConverter
public class BsonUndefinedToNullObjectConverter implements Converter<BsonUndefined, Boolean> {
    @Override
    public Boolean convert(BsonUndefined bsonUndefined) {
        return false;
    }
}
